//
//  xinchengDetailModel.m
//  Travel
//
//  Created by lanou3g on 15/4/12.
//  Copyright (c) 2015年 &#21556;&#21697;&#27901;. All rights reserved.
//

#import "xinchengDetailModel.h"

@implementation xinchengDetailModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
}

- (void)getXingchengDetailModel1
{
    NSMutableArray *array = [NSMutableArray array];
    for (NSMutableDictionary *dic in self.plan_days) {
        XingchengDetailModel1 *model = [[XingchengDetailModel1 alloc]init];
        [model setValuesForKeysWithDictionary:dic];
        [array addObject:model];
        
    }
    
    self.plan_days = [NSMutableArray arrayWithArray:array];
}

@end
